package com.sinosoft.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author loujiang
 * @date 2020/12/23 2:57 下午
 * @NOTE:
 */
@RestController
public class HystrixDemoController {


    @RequestMapping("err")
    public String error() {
        throw new RuntimeException("没啥事干抛出个异常玩玩！");
    }

}
